package com.xiaojie.dao;

import com.xiaojie.pojo.User;

import java.io.IOException;
import java.util.List;

/**
 * @ClassName UserDao
 * @Author jiege
 * @Date 2021/5/5 20:54
 **/
public interface UserDao {

    //查询所有
   public List<User> findAll() throws IOException;

   //多条件组合查询：演示if
    public List<User> findByCondition(User user) throws IOException;

    //多值查询
    public List<User> findByIds(int[] ids) throws IOException;

}
